package com.cby.android.sample.activities

import com.cby.android.library.base.BasePageStateActivity
import com.cby.android.sample.adapter.RollJokeAdapter
import com.cby.android.sample.bean.roll.RollJokeBean
import com.cby.android.sample.model.RollJokeViewModel
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 * @description: RollJokeActivity
 *
 * @author ChenBaoyang
 * @date 4/25/21 21:09
 */
class RollJokeActivity : BasePageStateActivity<RollJokeViewModel, RollJokeBean>() {

    override fun getAdapter(): BaseQuickAdapter<RollJokeBean, BaseViewHolder> = RollJokeAdapter()

    override fun onDataInit() {
        title = "笑话段子"
        super.onDataInit()
        reload()
    }
}